Nested Structures
static int code = 0;
void funcWhileIfElse (void)
{
while (code > 0)
{
if (code == 1)
{
code = 0;
}
else
{
--code;
}
}
}
This is an if-else contained within a while loop. The first solid raised line represents the while loop while the inner raised solid line represents the if-else loop. Other function structure components can be similarly nested.